<div class="col-xs-12 col-md-12 col-lg-4 pull-right">
    <!--标签开始-->
    <div class="m-tags">
        <h4>热门标签</h4>
        <ul class="m-tags-ul">
            {php}$i=0;{/php}
            {foreach name="taglist" item="vo"}
            {php}$i++;{/php}
            {php}$i=$i==5?1:$i;{/php}
            <li class="m-tags-li tagstyle{$i}"><a href="{:url('index/index/tag',['tid'=>$vo.tid])}" class="m-tags-a">{$vo.tname}</a></li>
            {/foreach}
        </ul>
    </div>
    <!--标签结束-->
    <!--置顶开始-->
    <div class="m-top-pull">
        <h4>置顶推荐</h4>
        {foreach name="top" item="vo"}
        <a href="{:url('index/article/read',['id'=>$vo.id])}">
            <span class="glyphicon glyphicon-flash"></span>
            {$vo.blog_title}</a><br>
        {/foreach}
    </div>
    <!--置顶结束-->

    <div class="m-friend-link">
        <h4>友情链接</h4>
        <a href="http://blog.mchyweb.top"><span class="glyphicon glyphicon-magnet"></span>MC个人博客</a>
    </div>


    <div class="m-search">
        <form action="{:url('index/index/search')}" method="get">
            <input type="text" name="search" class="m-search-input form-control"><button type="submit" class="btn btn-info">搜索</button>
        </form>
    </div>
</div>